<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="javax.sql.rowset.WebRowSet" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>User List</title>
</head>
<body>
<h2>session数据</h2>
<%
String userId = (String)session.getAttribute("userid");
out.println(userId);
out.println("<br>用户名:" + session.getAttribute("username"));

%>



</body>
</html>
